package com.cictec.middleware.tde.rm.protocol.rm.message;

import java.util.Date;

import com.cictec.middleware.tde.rm.protocol.TerminalMessage;

/**
 * 0xC1 升级车载终 端 请求
 * 
 * @author Administrator
 *
 */
public class Rm0xC1PlatformMessage extends TerminalMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6794171470158505888L;

	public Rm0xC1PlatformMessage(Header header) {
		super(header);
	}

	private Date createTime;
	private int updateType;
	private String ubf_sessionId;
	private String address;
	private String port;
	private int fileNameLen;
	private String fileName;
	private int fileVersionLen;

	public int getFileNameLen() {
		return fileNameLen;
	}

	public void setFileNameLen(int fileNameLen) {
		this.fileNameLen = fileNameLen;
	}

	public int getFileVersionLen() {
		return fileVersionLen;
	}

	public void setFileVersionLen(int fileVersionLen) {
		this.fileVersionLen = fileVersionLen;
	}

	private String fileVersion;
	private int fileSize;
	private long fileOffset;
	private long crc;
	private int reserved;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getUpdateType() {
		return updateType;
	}

	public void setUpdateType(int updateType) {
		this.updateType = updateType;
	}

	public String getUbf_sessionId() {
		return ubf_sessionId;
	}

	public void setUbf_sessionId(String ubf_sessionId) {
		this.ubf_sessionId = ubf_sessionId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileVersion() {
		return fileVersion;
	}

	public void setFileVersion(String fileVersion) {
		this.fileVersion = fileVersion;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public long getFileOffset() {
		return fileOffset;
	}

	public void setFileOffset(long fileOffset) {
		this.fileOffset = fileOffset;
	}

	public long getCrc() {
		return crc;
	}

	public void setCrc(long crc) {
		this.crc = crc;
	}

	public int getReserved() {
		return reserved;
	}

	public void setReserved(int reserved) {
		this.reserved = reserved;
	}

}
